package com.kclm.pojo;

import org.springframework.beans.factory.FactoryBean;

/**
 * @Author : lvhx
 * @Date: 2025/11/3 16:12
 * @Description:
 * FactoryBean 工厂bean  根据工厂bean来创建普通的bean对象
 */
public class PersonFactoryBean implements FactoryBean<Person> {
    @Override
    public Person getObject() throws Exception {
        return new Person();
    }

    @Override
    public Class<?> getObjectType() {
        return null;
    }
}
